package com.papper.common.bean.biz;

import com.papper.common.annotation.InquireConfig;
import com.papper.common.bean.BaseEntity;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Author:LaJiao
 * @Date:2022-04-21 11:04:21
 * @Description:个人账号分组
 */
@Table(name = "biz_account_group")
@InquireConfig(ts = "createTime", te = "createTime", sort = "group_sort", order = "asc")
public class BizAccountGroup extends BaseEntity {

    // 自增ID
    @Id
    @GeneratedValue(generator = "JDBC")
    private Long    id;
    // 组名称
    @Column(name = "group_name")
    private String  groupName;
    // 组排序
    @Column(name = "group_sort")
    private String  groupSort;
    // 数据状态
    @Column(name = "data_status")
    private Integer dataStatus;
    // 创建时间
    @Column(name = "create_time")
    private Date    createTime;
    // 更新时间
    @Column(name = "modify_time")
    private Date    modifyTime;

    /**
     * get/set
     */
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getGroupName() {
        return this.groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getGroupSort() {
        return groupSort;
    }

    public void setGroupSort(String groupSort) {
        this.groupSort = groupSort;
    }

    public Integer getDataStatus() {
        return this.dataStatus;
    }

    public void setDataStatus(Integer dataStatus) {
        this.dataStatus = dataStatus;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return this.modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

}